docs: trim AGENTS.md duplication into skills#10007
Merged
Merged
Conversation
- Strip ~530 lines of UI guide duplication from packages/kilo-jetbrains/AGENTS.md; the jetbrains-ui-style skill is more comprehensive and is now the source of truth. - Move GitHub Issues guidance into a new .kilo/skills/gh-issues/SKILL.md so it loads only when needed. - Collapse duplicated kilocode_change marker examples in root AGENTS.md to a brief summary plus pointer to the kilocode-merge-minimizer skill.
Contributor
Author
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by gpt-5.5-20260423 · 249,430 tokens |
marius-kilocode
approved these changes
May 7, 2026
Per feedback, drop the jetbrains UI section trim from this PR. The root AGENTS.md cleanup and the new gh-issues skill stay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts ~500 lines from AGENTS.md context by moving content that was duplicated by — or naturally lives in — skills out of the always-loaded files.
packages/kilo-jetbrains/AGENTS.md: 747 → 220 lines. The entire "UI Design Guidelines" section was duplicated bypackages/kilo-jetbrains/.kilo/skills/jetbrains-ui-style/SKILL.md, which is more comprehensive and was already referenced from the top of the file. Replaced with a pointer plus 5 non-negotiables (no Compose, no JCEF, prefer Kotlin UI DSL v2, use platform components, never hardcode colors/fonts/sizes)..kilo/skills/gh-issues/SKILL.md: GitHub Issues guidance (templates, project boards, title rules,gh auth refresh -s projectrecovery) is only relevant when runninggh issue create, so it now loads on demand.AGENTS.md: collapsed the ~50-linekilocode_changemarker syntax block into a 4-bullet summary plus a pointer tokilocode-merge-minimizer(which already covers the same ground in more depth).Why
The argument isn't really tokens — it's attention dilution. Long inline reference material competes with the rules that must land for every code generation (style guide, build commands, fork-merge philosophy). Moving on-demand reference into skills lets the always-loaded layer stay focused on what every task needs.
Verified
bun run script/check-md-table-padding.tsstill passes.